/* SPDX-License-Identifier: BSD-3-Clause
 *
 * Copyright(c) 2022 Intel Corporation. All rights reserved.
 */

#define LENGTH_HAMMING 256

static const int16_t ref_hamming[LENGTH_HAMMING] = {
	2621,
	2626,
	2640,
	2663,
	2695,
	2736,
	2786,
	2845,
	2913,
	2991,
	3077,
	3172,
	3276,
	3388,
	3509,
	3639,
	3778,
	3925,
	4080,
	4243,
	4415,
	4595,
	4782,
	4978,
	5181,
	5392,
	5610,
	5836,
	6069,
	6309,
	6555,
	6809,
	7069,
	7336,
	7609,
	7888,
	8173,
	8464,
	8760,
	9062,
	9369,
	9681,
	9998,
	10319,
	10646,
	10976,
	11310,
	11649,
	11991,
	12336,
	12685,
	13037,
	13391,
	13749,
	14108,
	14470,
	14834,
	15199,
	15566,
	15935,
	16304,
	16674,
	17045,
	17416,
	17788,
	18159,
	18530,
	18900,
	19270,
	19639,
	20007,
	20373,
	20738,
	21101,
	21461,
	21820,
	22176,
	22529,
	22879,
	23226,
	23570,
	23910,
	24247,
	24579,
	24907,
	25231,
	25551,
	25865,
	26175,
	26479,
	26778,
	27072,
	27360,
	27642,
	27918,
	28188,
	28451,
	28708,
	28958,
	29202,
	29438,
	29667,
	29889,
	30104,
	30311,
	30510,
	30702,
	30886,
	31061,
	31229,
	31388,
	31539,
	31682,
	31816,
	31942,
	32059,
	32167,
	32266,
	32357,
	32439,
	32511,
	32575,
	32630,
	32675,
	32712,
	32739,
	32758,
	32767,
	32767,
	32758,
	32739,
	32712,
	32675,
	32630,
	32575,
	32511,
	32439,
	32357,
	32266,
	32167,
	32059,
	31942,
	31816,
	31682,
	31539,
	31388,
	31229,
	31061,
	30886,
	30702,
	30510,
	30311,
	30104,
	29889,
	29667,
	29438,
	29202,
	28958,
	28708,
	28451,
	28188,
	27918,
	27642,
	27360,
	27072,
	26778,
	26479,
	26175,
	25865,
	25551,
	25231,
	24907,
	24579,
	24247,
	23910,
	23570,
	23226,
	22879,
	22529,
	22176,
	21820,
	21461,
	21101,
	20738,
	20373,
	20007,
	19639,
	19270,
	18900,
	18530,
	18159,
	17788,
	17416,
	17045,
	16674,
	16304,
	15935,
	15566,
	15199,
	14834,
	14470,
	14108,
	13749,
	13391,
	13037,
	12685,
	12336,
	11991,
	11649,
	11310,
	10976,
	10646,
	10319,
	9998,
	9681,
	9369,
	9062,
	8760,
	8464,
	8173,
	7888,
	7609,
	7336,
	7069,
	6809,
	6555,
	6309,
	6069,
	5836,
	5610,
	5392,
	5181,
	4978,
	4782,
	4595,
	4415,
	4243,
	4080,
	3925,
	3778,
	3639,
	3509,
	3388,
	3276,
	3172,
	3077,
	2991,
	2913,
	2845,
	2786,
	2736,
	2695,
	2663,
	2640,
	2626,
	2621,
};
